﻿using Northwind.Application.CustomerService;
using StructureMap.Configuration.DSL;

namespace Northwind.Application
{
    public class RepositoryRegistry : Registry
    {
        public RepositoryRegistry()
        {
            For<IUIDataProvider>()
                .Singleton();
            For<ICustomerService>()
                .Singleton()
                .Use(() => new CustomerServiceClient());
        }
    }
}
